import ajax from "./ajax";
//首页轮播图接口
export const lbs = ()=>ajax('http://localhost:3000/index_lbs')
export const jlts = ()=>ajax('http://localhost:3000/index_jlts')
export const products = (data)=>ajax('http://localhost:3000/index_products',data)
export const details = (data)=>ajax("http://localhost:3000/index_details",data)
export const login = (data)=>ajax("http://localhost:3000/login",data,'post')
export const ygclass = ()=>ajax("http://localhost:3000/index_listclass")
export const fls = (data)=>ajax("http://localhost:3000/index_pp",data)